package org.example.src;

import java.time.LocalDateTime;
import java.util.Scanner;
public class DiaryRecord extends BaseRecord{
    public DiaryRecord(RecordType type, String recordId, LocalDateTime creatime) {
        super(type, recordId, creatime);
    }
    private String content;
    private String content1;
    private Mood mymood;

    public Mood getMymood() {
        return mymood;
    }

    public void setMymood(Mood mymood) {

        this.mymood = mymood;
    }

    Scanner scanner=new Scanner(System.in);
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        content1=scanner.nextLine();
        content.concat(content1);
        this.content = content;
    }
}
